Windows XP: RegSvr32 /i:[cmdline]: What exactly is "Command line" in this case?

Posted by Kim on Stack Overflow See other posts from Stack Overflow or by Kim
Published on 2010-06-18T09:31:09Z Indexed on 2010/06/18 9:33 UTC
Read the original article Hit count: 200

Filed under:
|

I am trying to register a dll using regsvr32 in a cmd window. I do this on an administrator account, but I need this dll to be registered for all the users. Turns out regsvr32 does not do that, it only registers for your current user. Well, when you use it this way anyways: "regsvr32 /i "C:\MyDll.dll"" What happens; The entry is added to Local_User, and Classes in the registry, but not Local_Machine.

The msdn article on regsvr32 says it also takes a [cmdline] when using the /i option. But the article fails to specify what I can put in place of [cmdline]. Google is refusing to help me as well, so I'm a bit stuck on this.

I realize this is not exactly on the topic of programming, but this is something programmers might know, so... Has anyone run into this before? Perhaps someone knows how this [cmdline] tag works? Are there any other ways to add this dll to all users? (Apart from editing the registry manually that is.) Any insight would be greatly appreciated!

© Stack Overflow or respective owner

Related posts about users

Related posts about regsvr32